package com.lvmama.pangolin.tc.service;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.spider.TicketCommodity;
import com.lvmama.pangolin.entity.tc.TCTicket_CommodityDetail;

public interface TCTicketCommodityDetailService {
	/**  
	* @Title：TCTicketCommodityDetailService.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年2月17日上午11:16:48  
	*/
	/**
     * 通过taskid 获取TCTicket_CommodityDetail
     * @param map task_id
     * @param 
     * @return 
     */
	public List<TCTicket_CommodityDetail> getTCTicket_CommodityDetailListByID(Map<String,Object> map)throws Exception;
	public int insertCommodityDetailLog(TCTicket_CommodityDetail detail)throws Exception;
	public List<TCTicket_CommodityDetail> selectAllLog(int pageSize,int pageNumber)throws Exception;
	public List<TCTicket_CommodityDetail> queryLogByMap(Map<String,Object> map)throws Exception;
	public int deleteLogByMap(Map<String,Object> map)throws Exception;
	public int updateLog(TCTicket_CommodityDetail detail)throws Exception;
	public int deleteLogByID(String detail_id)throws Exception;
	public List<TCTicket_CommodityDetail> getTCTicket_CommodityDetailLogListByID(Map<String,Object> map)throws Exception;


	public int insert(TicketCommodity record);
	
	public int insertSelective(TicketCommodity record);
	
	public int deleteByTaskAndProd(TicketCommodity record);
}
